<form action="{:U('Common/addCommon')}" method="post" class="form-horizontal">
    <div class="form-item">
        <label class="item-label">相册<span class="check-tips">（请直接使用多图上传的功能）</span></label>
        <div class="controls">
            <label class="textarea">
                <textarea name="imgs">{$data.imgs}</textarea>
                {:hook('adminArticleEdit', array('name'=>'imgs','value'=>$data['imgs']))}
            </label>
        </div>
    </div>
    <div class="form-item">
        <input type="hidden" name="table" value="photos">
        <input type="hidden" name="methods" value="current">
        <input type="hidden" name="gid" value="{$id|default=0}">
        <input type="hidden" name="fields" value="imgs,text;gid,text;">
        <input type="hidden" name="id" value="{$data.id|default=0}">
        <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
        <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
    </div>
</form>

